/**
 * @author Tran
 */
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/*
 * this is the first panel the teacher sees
 */
public class Admin_teacher extends JPanel
{
	/**list of some of the var names and their functions
	 * @student_records is for a button that displays the student records when pressed
	 * @manage_vocab is the button what will manage your vocab i think
	 * @prev is the button that will take you back to the main menu after login
	 * @student_rec is the label that will say access student records
	 * @vocab_label is the label for vocabulary management
	 */
	blankButton student_records;
	blankButton manage_vocab;
	blankButton prev;
	
	JLabel student_rec;
	JLabel vocab_label;
	
	
	public Admin_teacher()
	{
		//creating gridbaglayout
		this.setLayout(new GridBagLayout());
		GridBagConstraints c = new GridBagConstraints();
		
		Font font = new Font("Ubuntu Mono", Font.BOLD, 16);
		
		prev = new blankButton("Back");
		prev.setFont(font);
		
		student_records = new blankButton("Student Records");
		manage_vocab = new blankButton("Manage Vocab");
		
		student_records.setFont(font);
		manage_vocab.setFont(font);
		
		student_rec = new JLabel("Access Student Records");
		vocab_label = new JLabel("Manage Vocabulary");
		student_rec.setFont(font);
		vocab_label.setFont(font);
		//vocab_listname = new JLabel("Name of Vocabulary List");
		
		c.insets = new Insets(5,5,5,5);
		c.gridx = 0;
		c.gridy = 0;
		this.add(student_rec, c);
		c.gridy = 1;
		this.add(student_records, c);
		c.gridx = 1;
		c.gridy = 0;
		this.add(vocab_label, c);
		c.gridy = 1;
		this.add(manage_vocab, c);
		c.gridy = 3;
		this.add(prev, c);
		
		
	}

}
